package edu.sctu.practice.class02.xuejiahua.test08;

/**
 * Created by Administrator on 2015/10/10.
 */
public class Experiment {
    public static void main(String[] args) {
        Vechicles vechicles = new Vechicles("ASTON MARTIN","black");
        vechicles.run();
        vechicles.showinfo();
        Car car = new Car("FERRARI","white",2);
        car.showCar();
        Truck truck = new Truck("TOYOTA","gray",1);
        truck.showTruck();


    }
}
